package com.cj.ctyl.framework.utils;

import com.cj.ctyl.entity.SysUsers;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;

/**
 * @Author: Alex
 * @Description: 用户工具类
 * @Date: 2021/8/16
 */
public class UserUtils {

    public static SysUsers getSysUsers() {
        HttpSession session = ServletUtils.getSession();
        return (SysUsers) session.getAttribute("SYSUSER");
    }



}
